UltraFind can be controlled through AppleScripts, and return information to your application.
This small demo shows a sample 'find filename' function. 
More complex script examples are available from the UltraFind WebSite:
http://www.demon.co.uk/ultratec/support.html